package gwtroot.service;

import gwtroot.My.Car;

import com.google.web.bindery.requestfactory.shared.Locator;

public class CarService extends Locator<Car, Long> {

	public Car create(Class<? extends Car> clazz) {
		return new Car();
	}

	public Long getId(Car domainObject) {
		return domainObject.getId();
	}

	public Car find(Class<? extends Car> clazz, Long id) {
		return null;
	}

	public Object getVersion(Car domainObject) {
		return domainObject.getVersion();
	}

	public Class<Car> getDomainType() {
		return Car.class;
	}

	public Class<Long> getIdType() {
		return Long.class;
	}

}
